
<div class="table-responsive">
<table  class="table table-bordered table-hover">
<thead>
  <tr>
    <td>新闻id</td>
    <td>图片链接</td>
    <td>新闻标题</td>
    <td>新闻摘要</td>
    <td>新闻类型</td>
    <td>新闻内容</td>
    <td>发布时间</td>
    <td>发布者</td>
    <td>操作</td>
  </tr>
</thead>
    {% for item in news %}
    <tr>
      <td>{{item.nid}}</td>
      <td>{{item.imgUrl[0:20]}}</td>
      <td>{{item.title}}</td>
      <td>{{item.digest[0:20]}}</td>
      <td>{{item.type}}</td>
      <td>{{item.content[0:30]}}</td>
      <td>{{item.pubTime}}</td>
      <td>{{item.publisher}}</td>
      <td><a href='{{ url_for('.delete_news', nid=item.nid) }}'>删除</a></td>
    </tr>
    {% endfor %}


</table>
</div>
